package com.ztgf.commodity.models.service;

import com.baomidou.mybatisplus.service.IService;
import com.ztgf.commodity.models.dto.CategoryImportDTO;
import com.ztgf.commodity.models.vo.CategoryAdminDetailsNewVO;
import com.ztgf.commodity.models.vo.CategoryBrandAttributesVO;

import java.util.List;

public interface ICategoryImportService extends IService<CategoryImportDTO> {


    /**
     * @Description: 新的类目属性导入
     * @Author: chenyu.wang
     * @Params: [input, id]
     * @Date: 2020.12.31 10:43
     */
    CategoryAdminDetailsNewVO importCategoryAttribute(byte[] input, Long id);

    List<CategoryBrandAttributesVO> getTagAttributes(String tag, String categoryName, String brandName);

    List<CategoryBrandAttributesVO> getParameterAttributes(String parameter, String categoryName, String brandName);

    List<CategoryBrandAttributesVO> getSalesAttributesDate(String sales, String categoryName, String brandName);

}
